<!-- Modal -->
<div class="modal fade modal-default" id="login-popup" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog {{$ctrl.previewObject.size}} modal-dialog-centered" role="document">
        <div class="modal-content">
            <div class="modal-header border-bottom-0 px-5">
                <img src="/mix-app/css/portal/img/mixcore-logo-green.svg" alt="Mixcore CMS" height="35" class="my-4" />
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"
                    style="z-index: 999"></button>
            </div>
            <div class="modal-body">
                <form class="mb-4 frm-login" action="" ng-class="{'submitted': submitted}" ng-submit="login()"
                    autocomplete="disabled">
                    <div class="mb-3">
                        <label class="form-label">Username</label>
                        <input class="form-control" placeholder="Username" ng-model="loginData.username" required
                            autofocus="" ng-enter="login()" />
                    </div>
                    <div class="mb-3">
                        <label class="form-label"> Password </label>

                        <input type="password" class="form-control" placeholder="Password" ng-model="loginData.password"
                            required ng-enter="login()" />
                        <a href="/security/forgot-password" class="float-end small">Forgot password?</a>
                    </div>
                    <div class="mb-5">
                        <label class="form-check">
                            <input type="checkbox" class="form-check-input" ng-model="loginData.rememberMe" />
                            <span class="custom-control-label">Remember me!</span>
                        </label>
                    </div>
                    <div class="mb-3 mt-4 text-end">
                        <input type="button" ng-click="login()" class="btn btn-primary px-5" value="Login" />
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>